package com.itheima.hello;

public class Test6{
    public static void main(String[] args){

        double rs = minNumber(12,45);

        System.out.println(rs);
    }
    public static double minNumber(double a ,double b){
        double i = a < b ? a : b;
        return i;
    }
}